{% extends "cms/cms_base.html" %}
{% from "common/_macros.html" import static %}

{% block title %}
    反馈管理导入
{% endblock %}

{% block head %}
    <script src="{{ static('cms/js/uploadFiles.js') }}"></script>
{#    <script language="JavaScript">#}
{#        function myrefresh(){#}
{#        window.location.reload();#}
{#        }#}
{#        setTimeout('myrefresh()',1000); //指定1秒刷新一次#}
{#    </script>#}
{% endblock %}

{% block page_title %}
    {{ self.title() }}
{% endblock %}

{% block main_content %}

    <div class="a-upload">
        <input id="uploadExcelFile" name="excelfile" type="text" class="form-control" style="width: 600px;">
        <button type="button" class="btn btn-default" id="upload-btn" onclick="uploadfile()">导入</button>
    </div>

    <div style="padding-top: 20px;">
{#    <p style="color: red">{{ infomsg }}</p>#}
        {% if checkRes != 1 %}
            <p style="color: red">{{ checkRes }}</p>
        {% else %}
            <p style="color: green">导入数据检查通过，可以导入。</p>
        {% endif %}
    </div>
{% endblock %}